home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
programming
/
ixemul-complete
/
ixemul
/
stack
/
glue.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-08
|
467b
|
31 lines
#include "a4.h" /* for the A4 macro */
/*
* Special glue that doesn't clobber any registers.
*/
asm("
.globl ___stkovf
___stkovf:
movel "A4(_ixemulbase)",sp@-
addl #-6*481-24,sp@
rts
.globl ___stkext
___stkext:
movel "A4(_ixemulbase)",sp@-
addl #-6*482-24,sp@
rts
.globl ___stkext_f
___stkext_f:
movel "A4(_ixemulbase)",sp@-
addl #-6*483-24,sp@
rts
.globl ___stkrst
___stkrst:
movel "A4(_ixemulbase)",sp@-
addl #-6*484-24,sp@
rts
");